const listData = [{
  id: 1,
  name: '公司1',
  children: [{
    id: 11,
    name: '研发部',
    children: [{
      id: 111,
      name: '张三',

    }, {
      id: 112,
      name: '李四',

    }]
  }, {
    id: 12,
    name: '综合部',

  }]
},
{
  id: 2,
  name: '公司2',
  children: [{
    id: 21,
    name: '研发部',

  }, {
    id: 22,
    name: '综合部',

  }, {
    id: 23,
    name: '财务部',

  }, ]
},
{
  id: 3,
  name: '公司3'
},
{
  id: 4,
  name: '公司4',
  children: [{
    id: 41,
    name: '研发部',

  }]
}
]

const [a,b] = {a:1,b:2};
console.log(a,b);
